package auction

class Customer {
	String username
	String password
    String emailAddress
    Date createdDate

    static constraints = {
        // password must be between 6-8 characters
        password size: 6..8, blank: false

        // email address must have an @ sign and be unique
        emailAddress email: true, blank: false, unique: true
    }
}
